﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microhard.WeixinMP.Interfaces;
using Microhard.WeixinMP.Models;
using System.ServiceModel.Dispatcher;

namespace Microhard.WeixinMP.Impls
{
    public class Web_ParseUserDetail : IWeixinMPHtmlParser<WeixinUserModel>
    {

        public WeixinUserModel ParseObject(string html)
        {
            JsonQueryStringConverter jqsv = new JsonQueryStringConverter();
            return (WeixinUserModel)jqsv.ConvertStringToValue(html, typeof(WeixinUserModel));
        }
    }
}
